package com.atguigu03.field_method.field.exer2;

/**
 * ClassName: EmployeeTest
 * Package: com.atguigu03.field_method.field.exer2
 * Description:
 *
 * @Author BuTang
 * @Create 2023/2/27 11:38
 * @Version 1.0
 */
public class EmployeeTest {
    public static void main(String[] args) {
        Employee emp1 = new Employee();
        emp1.id = 1001;
        emp1.name = "Tom";
        emp1.age = 24;
        emp1.salary = 10001.1;
        emp1.birthday = new MyDate();
        emp1.birthday.day = 12;
        emp1.birthday.month = 3;
        emp1.birthday.year = 1998;
        System.out.println(emp1.birthday.year);
    }
}
